package logica.product;

/**
 * Classe de evento que carrega todos os dados importates de um anuncio de
 * leilao.
 *
 */
public class AuctionAnnouncementEvent {

	private String auctionOwner;

	private String auctionDescription;

	private String productDescription;

	private String date;

	private String beginTime;

	private String endTime;

	private String minimalBid;

	/**
	 * Construtor do anuncio de leilao.
	 *
	 * @param auctionOwner
	 *            O login do dono do leilao.
	 * @param auctionDescription
	 *            A descricao do leilao.
	 * @param productDescription
	 *            A descricao do produto em leilao.
	 * @param beginTime
	 *            A data de inicio do leilao.
	 * @param endTime
	 *            A data de termino do leilao.
	 * @param minimalBid
	 *            O lance minimo requerido.
	 */
	public AuctionAnnouncementEvent(String auctionOwner,
			String auctionDescription, String productDescription, String date,
			String beginTime, String endTime, String minimalBid) {

		this.auctionOwner = auctionOwner;
		this.auctionDescription = auctionDescription;
		this.productDescription = productDescription;
		this.date = date;
		this.beginTime = beginTime;
		this.endTime = endTime;
		this.minimalBid = minimalBid;
	}

	public String getAuctionOwner() {
		return this.auctionOwner;
	}

	public String getAuctionDescription() {
		return this.auctionDescription;
	}

	public String getProductDescription() {
		return this.productDescription;
	}

	public String getDate(){
		return this.date;
	}

	public String getBeginTime() {
		return this.beginTime;
	}

	public String getEndTime() {
		return this.endTime;
	}

	public String getMinimalBid() {
		return this.minimalBid;
	}
}
